package com.pactera.asmp.server.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.util.List;

import com.pactera.asmp.server.entity.dbc.Message;
import lombok.Data;

/**
 * @ProjectName: asmpserver
 * @Package: com.pactera.asmp.server.pojo
 * @ClassName: FileParse
 * @Author: lvzhiqiang
 * @Description: 文件上传及解析信息
 * @Date: 2019/8/1 14:56
 * @Version: 1.0
 */
@Data
public class FileParse {
    private Long cid;

    private String fileName;

    private Long fileSize;

    /**
     * 原始文件上传至文件服务器的 fileId
     */
    private String fileId;

    private String filePath;

    /**
     * 解析后文件上传至文件服务器的 fileId
     */
    private String parseFileId;

    private String parseFilePath;

    private String parseContent;

    private List<Message> messages;

    private Integer type;

    private Integer projectId;

    private Integer userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
